﻿using System.Windows.Forms;

using ExtensibleEventViewer.Console.Properties;


namespace ExtensibleEventViewer.Console.Forms
{
	/// <summary>
	/// Base class for all forms
	/// </summary>
	public class FormBase : Form
	{
		/// <summary>
		/// Default constructor.
		/// Declared only for usage in Design mode
		/// </summary>
		public FormBase()
		{
		}


		/// <summary>
		/// Initializes instance
		/// </summary>
		protected FormBase(string windowTitle)
		{
			base.Text = string.Format("{0} - {1}", Resources.ApplicationName, windowTitle);
		}
	}
}
